package cate.game.play.skill.effect.base;


import cate.game.play.fighter.Fighter;
import cate.game.play.proce.action.ctx.SkillActionCtx;
import cate.game.play.skill.effect.SkillEffect;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;


@NoteClass("技能效果")
public abstract class SE {

    @NoteField("所属总体技能效果")
    public SkillEffect parent;

    public void setup(SkillEffect parent) {
        this.parent = parent;
    }

    /**
     * 解析原始配置
     * @param code
     */
    public void parse(String code) {
    }

    /**
     * 解析强化配置
     * @param code
     */
    public void parseExt(String code){

    }


    /** 结算 */
    public void settle(SkillActionCtx action, Fighter target) {}

}
